package com.zcx.merchantorder.entity;

import lombok.Data;

/**
 * @Description: 组件间通信实体类
 * @Author: zcx
 * @CreateDate: 2019/3/3 13:57
 */
@Data
public class MessageEvent<T> {

    private int code;
    private T data;

    public MessageEvent(int code, T data) {
        this.code = code;
        this.data = data;
    }
}
